package org.dtrd.modules.ocr.service;

import org.dtrd.modules.ocr.entity.po.DtrdEntRdOcrMapping;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import org.dtrd.modules.ocr.entity.bean.OcrMappingDetail;
import org.dtrd.modules.ocr.entity.bean.OcrMappingListInfo;
import org.dtrd.modules.ocr.entity.bean.OcrMappingListRequest;
import org.dtrd.modules.ocr.entity.bean.OcrMappingPageRequest;

import com.baomidou.mybatisplus.core.metadata.IPage;

/**
 * <p>
 * 服务类
 * </p>
 *
 * @author sun
 * @since 2022-09-06
 */
public interface IDtrdEntRdOcrMappingService extends IService<DtrdEntRdOcrMapping> {

    List<OcrMappingDetail> getOcrMappingList(OcrMappingListRequest request);

    OcrMappingDetail getOcrMapping(String word);

    boolean saveOrUpdateOcrMappingByWord(OcrMappingDetail ocrMappingDetail);
}
